<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<%@ include file="../common/include/include.jsp"%>
<title>login</title>
<script type="text/javascript">
	function doSubmit() {
		showBar();
		chgAction("loginAction", "login");
		document.forms[0].submit();
	}

	function goIndex() {
	}
</script>
</head>
<body>
	<s:form action="loginAction" name="form1" method="post" namespace="/demo">
		<table align="center">
			<tr>
				<td colspan="2" align="center">登录画面</td>
			</tr>
			<tr>
				<td>帐号：</td>
				<td><s:textfield name="loginForm.userId" id="loginForm.userId"></s:textfield>
				</td>
			</tr>
			<tr>
				<td>密码：</td>
				<td><s:textfield name="loginForm.password"
						id="loginForm.password"></s:textfield>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center"><input type="button" value="登录"
					onclick="doSubmit();" />&nbsp;&nbsp; <input type="reset"
					value="重置" /> <input type="button" value="index"
					onclick="goIndex()"></td>
			</tr>
		</table>
	</s:form>
</body>
</html>